import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Makemoney from '@/components/Makemoney'
import Borrow from '@/components/Borrow'
import Savemoney from '@/components/Savemoney'
import Account from '@/components/Account'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/makemoney',
      name: 'Makemoney',
      component: Makemoney
    },
    {
      path: '/borrow',
      name: 'Borrow',
      component: Borrow
    },
    {
      path: '/savemoney',
      name: 'savemoney',
      component: Savemoney
    },
    {
      path: '/account',
      name: 'account',
      component: Account
    }
  ]
})
